From 9a70f853a95964c0e2fc511cbcea1900a45486dc Mon Sep 17 00:00:00 2001 From: robertl Date: Thu, 18 May 2006 18:51:53 +0000 Subject: [PATCH] Add container and cache type to HTML and TEXT outputs. --- html.c | 4 ++++ text.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/html.c b/html.c index dd725ffac..fe0b2d765 100644 --- a/html.c +++ b/html.c @@ -104,6 +104,10 @@ html_disp(const waypoint *wpt) } fprintf(file_out, "\n"); if (wpt->gc_data.terr) { + fprintf(file_out, "

%s

\n", + gs_get_cachetype(wpt->gc_data.type), gs_get_container(wpt->gc_data.container)); + fprintf(file_out, "

%s\n", + gs_get_container(wpt->gc_data.container)); if (wpt->gc_data.desc_short.utfstring) { char *tmpstr = strip_nastyhtml(wpt->gc_data.desc_short.utfstring); fprintf (file_out, "

%s

\n", tmpstr ); diff --git a/text.c b/text.c index d1a405e2a..734a6d71f 100644 --- a/text.c +++ b/text.c @@ -94,6 +94,8 @@ text_disp(const waypoint *wpt) fprintf(file_out, "%s\n", wpt->description); } if (wpt->gc_data.terr) { + fprintf(file_out, "%s/%s\n", + gs_get_cachetype(wpt->gc_data.type), gs_get_container(wpt->gc_data.container)); if (wpt->gc_data.desc_short.utfstring) { char *stripped_html = strip_html(&wpt->gc_data.desc_short); fprintf (file_out, "\n%s\n", stripped_html); -- 2.30.2